package edu.sctu.practice.class02.luohui.tets13;

/**
 * Created by asus on 2015/10/15.
 */
public class Create {
    int a,b;
    double x,y,z;
    String m,n;
    public Create(int a,int b) {
        this.a=a;
        this.b=b;
        if(a>b) {
            System.out.println("较大的数是" + a);
        }
            else{
                System.out.println("较大的数是"+b);
            }
    }
    public Create(double x,double y,double z){
        this. x=x;
        this.y=y;
        this.z=z;
        System.out.println("三数的积是："+x*y*z);

    }
    public Create(String a,String n){
        this.m=m;
        this.n=n;
        if(m==n){
            System.out.println("两数相等");
        }
        else{
            System.out.println("两数不等");
        }
    }
}
